package com.campus.delivery.bean.order;

import com.campus.common.bean.common.PageQueryParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotNull;

/**
 * 配送订单列表查询参数
 */
@Data
@ApiModel("配送订单列表查询参数")
public class OrderListQueryParam extends PageQueryParam {
    @ApiModelProperty(value = "配送进度", required = true)
    @NotNull(message = "配送进度不能为空")
    private Integer deliveryProcess;

    @ApiModelProperty(value = "配送员ID", required = false)
    private Integer deliveryId;
}